//Speaker Driver

spk	
	in 	41	incmd
	
	bne	spk	incmd	zero
	
	out 	42	sp_sample
	
	out	40	one
tst1	
	in	41	sp_ack	
	
	be	tst1	sp_ack	zero
	
	out	40	zero
	
	ret	spk_ra



sp_valid	.data	0

sp_ack	.data	0

sp_sample	.data	0

incmd	.data	0



//#include constants.e
